You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLMtxVec Class > TOpenCLMtxVec Methods > Cos Method > TOpenCLMtxVec.Cos Method ([In] TOpenCLMtxVec, int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLMtxVec.Cos Method ([In] TOpenCLMtxVec, int, int, int)

Calculate the cosine of X object elements [XIndex]...[XIndex+Len-1].

Syntax
C#
Visual Basic
public TOpenCLMtxVec Cos([In] TOpenCLMtxVec X, int XIndex, int Index, int Len);

The results are stored in calling object elements [Index]...[Index+Len-1]. Size and TOpenCLBase.ComplexComplex properties of calling object and the calling object must be set explicitly. An exception is raised if array borders are overrun.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!